package com.article.dao.impl;

import java.util.List;

import com.article.dao.IEditorDAO;
import com.article.entity.Editor;

public class EditorDAOImpl extends BaseDAOImpl<Editor> implements
		IEditorDAO<Editor> {
	public static final String USER_NAME = "userName";
	public static final String REAL_NAME = "realName";
	public static final String GENDER = "gender";
	public static final String QQ = "qq";

	public EditorDAOImpl() {
		super(Editor.class);
	}

	public List<Editor> findByUserName(String userName) {
		return super.findByProperty(USER_NAME, userName);
	}

}
